package iBuyCoolSky.service.call;


import org.codehaus.xfire.service.OperationInfo;
import org.codehaus.xfire.service.binding.ObjectServiceFactory;

public class CustomServiceFactory extends ObjectServiceFactory {
	private static final String NAME_SPACE = "http://tempuri.org/";

	@Override
	 protected String getAction(OperationInfo op) {
	  return new StringBuffer(NAME_SPACE).append(op.getMethod().getName())
	    .toString();
	 }

	@SuppressWarnings("unchecked")
	@Override
	 protected String getTargetNamespace(Class clazz) {
	  return NAME_SPACE;
	}
}
